<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %><%--jstl을 쓰기 위해 사용 --%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %><%--숫자 포맷을 사용하기 위해 사용 --%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions"  prefix="fn"%><%--함수들을 이용하기 위해 사용 --%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<!--<script type="text/javascript" src="script/sms_riskI_script.js"></script>-->
</head>
<body onload="moveInsertPage('makind','${requestScope.update }')">
<div class="box">
      		<h4 class="white">
      			<span class="align-left">자산유형분류기준</span>
	      		<span class="align-right">마감상태(자산식별및평가) :
		      		<c:choose>
		      			<c:when test="${sessionScope.magamSession[1].state =='Y'}">
		      				 마감
		      			</c:when>
		      			<c:otherwise>
		      				 착수
		      			</c:otherwise>
		      		</c:choose>
	      		</span>
      		</h4>
	 <div class="box-container2">
		 <form action="riskIAction.do" method="post" name="makind">
		 <input type="hidden" name="mode" value="makind_update"></input>
		 <input type="hidden" name="pro_id" id="pro_id" value="${sessionScope.lastProId }"></input>
		 <input type="hidden" name="ak_id" id="insertNum" value="${requestScope.vo.ak_id }"></input>
		 <input type="hidden" name="base_lev1" id="base_lev1" value="${requestScope.vo.base_lev1 }"></input>	
		 
		 	<table class="insertTableL">
	   			<tfoot>
	   				<tr>
	   					<td>
	                     	<div class="align-right">
	                     		<c:choose>
		                       		<c:when test="${sessionScope.magamSession[1].state !='Y'}">
		                       		<!-- 마감 현황이 유무 판별(Y 시 입력 불가) -->
		                       			<a href="#" class="button" onclick="riskIWrite('makind');return false;"><span>저장</span></a>
		                       		</c:when>
		                       		<c:otherwise>
		                       			<a href="#" class="button1 addMargin" onclick="return false;"><span>저장</span></a>
		                       		</c:otherwise>
		                       	</c:choose>
	                     	
	                     	<a href="#" class="button" onclick="javascript: riskICancleWrite('makind')"><span>닫기</span></a>
	                     	</div>
	                     </td>
	   				</tr>
	   			</tfoot>
	   		</table>
	   		<table class="insertTableL">
	   			<colgroup>
	   				<col width="110px"/>
	   				<col/>
	   				<col/>
	   			</colgroup>
	   			<tbody>
	   			<%--
	   				<tr>
	   					<td class="titleName">순번</td>
	   					<td>
	   						<c:choose>
								<c:when test="${requestScope.update=='Y' }">
									 <input type="text" name="ak_id" id="ak_id" style="border:#bfbfbf 1px solid; background-color: #ffffff;" maxlength="4" size="4" value="${requestScope.vo.ak_id }" readonly="readonly" di></input>
								</c:when>
								<c:otherwise>
									<input type="text" name="ak_id" id="ak_id" style="IME-MODE: disabled; border:#bfbfbf 1px solid; background-color: #ffffff;" maxlength="4" size="4" value="${requestScope.maxNo }" onKeyDown='evKey(event)'  onkeyup="inputCheckSpecial(this)"></input>
								</c:otherwise>
							</c:choose>	
						</td>
	   				</tr>
	   			 --%>
	   				<tr>
	   					<td class="titleName">자산유형 <span class="red">＊</span></td>
	   					<td>
	   						<input type="text" name="ak_nm1" id="ak_nm1" maxlength="30" class="width98"  value="${requestScope.vo.ak_nm1 }" onkeyup="javascript: inputCheckSpecial(this)"></input>
	   					</td>
	   					<td>
	   						<input type="text" name="ak_nm2" id="ak_nm2" maxlength="30" class="width98"  value="${requestScope.vo.ak_nm2 }" onkeyup="javascript: inputCheckSpecial(this)"></input>
	   					</td>
	   				</tr>
	   				<tr>
	   					<td class="titleName">분류기준명</td>
	   					<td colspan="2">
	   						<input type="text" name="ak_standard" id="ak_standard"  maxlength="100" class="width99"  onkeyup="javascript: inputCheckSpecial(this)" value="${requestScope.vo.ak_standard }" ></input>
	   					</td>
	   				</tr>
	   			</tbody>
	   		</table>
   		</form>
	</div>
</div>
</body>
</html>
